<div id="wallpapers" style="margin:0px"> 
    <div id="wp-header-left"></div>
    <div id="wp-center"><?=(isset($sub_heading)) ? $sub_heading : ''?></div>
    <div id="wp-header-right"></div>

    <div id="wp-content">
	<div id="left"></div>
	<div id="right">
	 <? if(!empty($details)){  foreach ($details as $details) { ?>
	      
      <div  id="list" style="width:300px"> &bull;
       <?=anchor($details->link,ucfirst(trim_name($details->heading,40)),'title = "'.strip_tags(ucfirst($details->heading.'"')))?>
            </div>
      <? } }?>
	<div id="more"><?=anchor($more,'More..') ?> </div>

	</div>
</div>

    </div>